//
//  ViewController.h
//  Snake
//
//  Created by 李毅 on 16/9/18.
//  Copyright © 2016年 李毅. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "snake.h"

@interface ViewController : UIViewController


@property NSMutableArray *grid;

@property snake *snake;

@property (nonatomic, strong )Node *food;


@property UIButton *up;
@property UIButton *left;
@property UIButton *down;
@property UIButton *right;


@property UILabel *score;

@property UIButton *reset;




@end

